<?php
namespace Common\Models;
use Common\BaseModel;
class SyncControl  extends BaseModel
{
	public $site;
	public $redis_key="";
    public function initialize()
    {
        parent::initialize();
        $this->setSource('sync_control');
    }
//通过类型控制开始时间结束时间,锁表
	public function find_by_site($site){
	return	$res=$this->findFirstBySite($site);
	}


}
